package com.example.captchademo2.demos.web.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Q
 * @create 2025-06-03-17:16
 */
@Configuration
@ConfigurationProperties(prefix = "captcha")
@Data
public class CaptchaProperties {
    public Integer width;
    public Integer height;
    private Session session;

    @Data
    public static class Session {
        private String code;
        private String date;
    }
}
